package com.xiaoshuidi.cloud.module.member.controller.admin.topics.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Schema(description = "跟帖详情对象")
public class TopicsPostDetailVO implements Serializable {
    private static final long serialVersionUID = 5861081590250863891L;

    @Schema(description = "主键")
    private Long id;
    @Schema(description = "话题名称")
    private String topicName;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "话题ID")
    private Long topicId;

    @Schema(description = "参与内容")
    private String content;

    @Schema(description = "附带图片")
    private String images;

    @Schema(description = "点赞数")
    private Integer thumbs;

    @Schema(description = "审核人")
    private String reviewer;

    @Schema(description = "审核时间")
    private LocalDateTime reviewTime;

    @Schema(description = "审核状态0-待审核,1-审核通过,2-审核不通过")
    private Integer reviewStatus;

    @Schema(description = "false-不隐藏,true-隐藏")
    private Boolean hide;

    @Schema(description = "是否推荐false-不推荐,true-推荐")
    private Boolean recommend;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "是否点赞")
    private Boolean flag;

    private Long recordId;

    private String userIds;

    @Schema(description = "有效开始时间")
    private LocalDateTime effectBeginTime;

    @Schema(description = "有效结束时间")
    private LocalDateTime effectEndTime;

    @Schema(description = "话题状态1.未生效2进行中3已结束")
    private Integer topicStatus;

}
